package com.ruoyi.teacher.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.teacher.domain.TQuestion;
import com.ruoyi.teacher.vo.TQuestionVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 问题Mapper接口
 *
 * @author ruoyi
 * @date 2024-12-03
 */
public interface TQuestionMapper extends BaseMapper<TQuestion> {

    Page<TQuestionVo> queryList(Page<?> page, @Param("entity") TQuestionVo entity);

    List<TQuestionVo> queryList(@Param("entity") TQuestionVo entity);

    TQuestionVo queryById(@Param("id") Long id);



}
